/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trackingAlgorithms.blob;

import java.util.Comparator;

/**
 *
 * @author hp
 */
public class BlobComparator implements Comparator<Blob> {

    public int compare(Blob o1, Blob o2) {
        Integer f1 = o1.frameLabel;
        Integer f2 = o2.frameLabel;
        return f1.compareTo(f2);
    }
    
}
